package com.shycloud.mido.organ;

import com.shycloud.mido.common.security.annotation.EnableShyResourceServer;
import com.shycloud.mido.common.security.annotation.EnableShyFeignClients;
import com.shycloud.mido.common.swagger.annotation.EnableShySwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author fyp
 * @date 2019/09/24
 * 机构管理模块（新）
 */
@EnableAsync
@EnableShySwagger2
@SpringCloudApplication
@EnableFeignClients(basePackages = {"com.happy.zebra","com.shycloud.mido"})
@EnableShyResourceServer
@EnableScheduling
public class ShyOrganApplication {

	public static void main(String[] args) {
		SpringApplication.run(ShyOrganApplication.class, args);
	}

}
